<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>图书分类</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<link rel="stylesheet" type="text/css"
	href="<c:url value='/adminjsps/admin/css/book/list.css'/>">
<script type="text/javascript"
	src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>
<link rel="stylesheet" type="text/css"
	href="<c:url value='/jsps/pager/pager.css'/>" />
<script type="text/javascript"
	src="<c:url value='/jsps/pager/pager.js'/>"></script>

<script type="text/javascript"
	src="<c:url value='/adminjsps/admin/js/book/list.js'/>"></script>
</head>

<body>
	<div class="divBook">
		<ul>


			<c:forEach items="${pb.list }" var="book">
				<li>
					<div class="inner">
						<a class="pic"
							href="<c:url value='/AdminBookServlet?method=load&bid=${book.bid }'/>"><img
							src="<c:url value='/${book.imageB }'/>" border="0" /></a>
						<p class="price">
							<span class="price_n">&yen;${book.currPrice }</span> <span
								class="price_r">&yen;${book.price }</span> (<span
								class="price_s">${book.discount }折</span>)
						</p>
						<c:url value="/AdminBookServlet" var="authorUrl">
							<c:param name="method" value="getBooksByA" />
							<c:param name="author" value="${book.author }" />
						</c:url>
						<c:url value="/AdminBookServlet" var="pressUrl">
							<c:param name="method" value="getBooksByA" />
							<c:param name="press" value="${book.press }" />
						</c:url>
						<p>
							<a id="bookname" title="${book.bname }"
								href="<c:url value='AdminBookServlet?method=load&bid=${book.bid }'/>">${book.bname }</a>
						</p>
						<p>
							<a href="${authorUrl }" name='P_zz' title='${book.author }'>${book.author }</a>
						</p>
						<p class="publishing">
							<span>出版社：</span><a href="${pressUrl }">${book.press }</a>
						</p>
					</div>
				</li>
			</c:forEach>






		</ul>
	</div>
	<div style="float: left; width: 100%; text-align: center;">
		<hr />
		<br />
		<%@include file="/jsps/pager/pager.jsp"%>
	</div>
</body>

</html>

